package com.quanyan.user.service;

import com.lefu.commons.utils.Page;
import com.quanyan.api.APIResponse;
import com.quanyan.common.Plugin.PageObj;
import com.quanyan.user.model.vo.request.ReqCommentQuery;
import com.quanyan.user.model.vo.response.RespTopicListInfo;
import com.quanyan.user.request.ReqNewsTopic;
import com.quanyan.user.response.RespNewsTopic;

import java.util.List;

/**
 * Created by Administrator on 2016/11/22.
 */
public interface TopicService {

    /**
     * 获取达人话题列表
     * @param reqCommentQuery
     * @return
     */
    public APIResponse getForwardTopicList(ReqCommentQuery reqCommentQuery);


    /**
     * 查询话题
     * @param reqNewsTopic
     * @return
     */
    public PageObj<List<RespNewsTopic>> findAllTopic(ReqNewsTopic reqNewsTopic);


    /**
     * 首页
     * @param reqCommentQuery
     * @return
     */
    public Page<List<RespTopicListInfo>> findAllPage(ReqCommentQuery reqCommentQuery);


    /**
     * 话题详情
     * @param topicId
     * @return
     */
    APIResponse<RespTopicListInfo> queryTopicDetail(Integer topicId);

    /**
     * 批量查话题详情
     * @param lstTopicId
     * @return
     */
    public APIResponse<List<RespTopicListInfo>> batchTopic(List<Integer> lstTopicId);


    }
